package com.pcj.blog.dao;/**
 * @param
 * @author pcj
 * @date 2021/12/27 14:12
 * @return
 */

import com.pcj.blog.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 *
 * @className UserRepository
 * @author pengcj
 * @date 2021/12/27 14:12
 */

public interface UserRepository extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username,String password);
}
